﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Economo.Services.EntitiesConversion;

namespace Economo.Services.BusinessEntities
{
    public class BankAccount 
    {
        private byte _bankId;
        private Int16 _id;
        private string _description;
        private byte _currencyId;

        [MappingSettingsAttribute(true, "BankId", MappingSettingsAttribute.MappingType.Simple)]
        public byte BankId
        {
            get
            {
                return _bankId;
            }
            set
            {
                _bankId = value;
            }
        }
        [MappingSettingsAttribute(true, "Id", MappingSettingsAttribute.MappingType.Simple)]
        public Int16 Id
        {
            get
            {
                return _id;
            }
            set
            {
                _id = value;
            }
        }

        [MappingSettingsAttribute(true, "Description", MappingSettingsAttribute.MappingType.Simple)]
        public String Description
        {
            get
            {
                return _description;
            }
            set
            {
                _description = value;
            }
        }

        [MappingSettingsAttribute(true, "CurrencyId", MappingSettingsAttribute.MappingType.Simple)]
        public Byte CurrencyId
        {
            get
            {
                return _currencyId;
            }
            set
            {
                _currencyId = value;
            }
        }

    }
}
